package com.baizhiedu.injection;

/**
 * ClassName: UserServiceImpl
 * Description:
 * Date: 2022/12/03 PM 9:36:45
 * <p>
 * project: spring5
 * package: com.baizhiedu.injection
 * email: 1085844536@qq.com
 * version:
 *
 * @author WangGuojian
 */
public class UserServiceImpl implements UserService {

    private UserDao userDao;

    public UserDao getUserDao() {
        return userDao;
    }

    public void setUserDao(UserDao userDao) {
        this.userDao = userDao;
    }

    /**
     * 注册
     */
    @Override
    public void register() {
        userDao.save();
    }
}
